﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace IEWrapper
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            string[] args = Environment.GetCommandLineArgs();
            //string url = "";
            Form frm;
            if (args.Length == 2)
                frm = new MainForm(args[1]);
            else
                frm = new AddNew();

            Application.Run(frm);
        }
    }
}
